package pldaAut;

import pldaAut.CarPart;

public class Door extends CarPart {

	public void createPart(){
		super.createPart("STEEL");
	}

	@Override
	public void move(int times) {
		while(times>0){
			System.out.println(" opening and closing");
			times --;
		}
	}

	public void clean(){
		System.out.println(" cleaning the door ");
	}

}
